#pragma once

#include "MyThread.h"
#include "Regesiter.h"
#include "ContactSync.h"
#include "Reminder.h"
#include <string>
#include <vector>


class ReminderSyncTask : public MyThread
{
public:
	ReminderSyncTask(Outlook::_Application* spAppCache);
	ReminderSyncTask(void);
	~ReminderSyncTask(void);

protected:
	void * run(void * param);

private:
	LRESULT BuildReminderRequest(std::vector<Reminder*>* list,std::wstring& owner , std::wstring& mobile,std::wstring& result);

private:
	Outlook::_Application* m_app;
	Regesiter regesiter;

};

